package P069_ListEqual;

import org.junit.Test;

import java.util.ArrayList;
import java.util.Vector;

/**
 * 列表相等只关心元素数据
 */
public class ListEqual {

    @Test
    public void Test() {
        ArrayList<String> arrayList = new ArrayList<>();
        arrayList.add("A");

        Vector<String> vector = new Vector<>();
        vector.add("A");

        System.out.println(arrayList.equals(vector));

    }
}
